package cn.com.Service;

import cn.com.Dao.UserDao;
import cn.com.Model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by luokun on 2018/3/15.
 */
@Service
public class UserServiceImpl implements UserService{
    @Autowired
    private UserDao userDao;

    public User getUserAuthByAccount(String name) {
        return userDao.findUser(name);
    }
}
